package app.vendorportal.api.data.response;

import app.vendorportal.api.data.SSOAuthenticateStatus;
import app.vendorportal.api.data.SSOAuthorizeUser;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * @author Raymond
 * @version createTime：Apr 26, 2013 9:38:11 AM
 */

@XmlRootElement(name = "sso-authenticate-response")
@XmlAccessorType(XmlAccessType.FIELD)
public class SSOAuthenticateResponse {

    @XmlElement(name = "status")
    private SSOAuthenticateStatus status;

    @XmlElement(name = "user")
    private SSOAuthorizeUser user;

    public SSOAuthenticateStatus getStatus() {
        return status;
    }

    public void setStatus(SSOAuthenticateStatus status) {
        this.status = status;
    }

    public SSOAuthorizeUser getUser() {
        return user;
    }

    public void setUser(SSOAuthorizeUser user) {
        this.user = user;
    }

}
